import Table from "./table";
import DateTime from "./datetime";
import Switch from "./switch";

let tableData = [
      {
        id: 1,
        name: "张三",
        age: 16
      },
      {
        id: 2,
        name: "李四",
        age: 17
      },
      {
        id: 3,
        name: "王五",
        age: 18
      },
    ];
let tableHead = ["ID","姓名","年龄","操作"];

export const App = () => {
  return (
      <div>
          <Table tableHead={tableHead} tableData={tableData}/>
          <hr/>
          <DateTime/>
          <hr/>
          <Switch/>
      </div>
  )
}